Crate atsamd_hal[][src]

Re-exports

pub use embedded_hal as hal;
pub use embedded_hal as ehal;
pub use paste;
pub use atsamd21g as pac;
pub use pac as target_device;
pub use crate::thumbv6m::*;

Modules

commonDeprecated

Delays

GPIO

Import the prelude to gain convenient access to helper traits

Real-time clock/counter

Configure the SERCOM peripherals

Delays with WFI sleep while we wait using a timer

spi_commonDeprecated

Time units

helper struct to calculate divider & cycles settings for timers.

Module supporting type-level programming

Macros

Helper macro to give meaningful names to GPIO pins

define_pinsDeprecated

This macro is a helper for defining a Pins type in a board support crate. This type is used to provide more meaningful aliases for the various GPIO pins for a given board.